package com.example.demo.dao;


import com.example.demo.model.user;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface userDAO{
    int add(user user);

    int update(user user);

    int delete(@Param("id") int id);

    user findByUserName(@Param("username") String usename);
    user findByUserId(int id);
}
